import app from "./App.module.css";
import React, { useState, Suspense } from "react";

function Hookdemo() {
  const [count, setcount] = useState(10);
  return (
    <div>
      <h1 className={app.one}>{count}</h1>
      <button onClick={() => setcount(count + 1)}>点击+</button>
    </div>
  );
}

export default Hookdemo;
